←Select platform

ReadBarcodes(RasterImage,LeadRect,Int32,BarcodeSymbology[]) Method

Summary

For information about this method please see ReadBarcodes.

Syntax

C#
VB
WinRT C#
C++
public [Leadtools.Barcode.BarcodeData[]](barcodedata.md) ReadBarcodes(  
   Leadtools.RasterImage image, 
   Leadtools.LeadRect searchBounds, 
   int maximumBarcodes, 
   Leadtools.Barcode.BarcodeSymbology[] symbologies 
) 
Public Overloads Function ReadBarcodes( _ 
   ByVal image As Leadtools.RasterImage, _ 
   ByVal searchBounds As Leadtools.LeadRect, _ 
   ByVal maximumBarcodes As Integer, _ 
   ByVal symbologies() As Leadtools.Barcode.BarcodeSymbology _ 
) As Leadtools.Barcode.BarcodeData() 
public [Leadtools.Barcode.BarcodeData[]](barcodedata.md) ReadBarcodes(  
   Leadtools.RasterImage image, 
   Leadtools.LeadRect searchBounds, 
   int maximumBarcodes, 
   Leadtools.Barcode.BarcodeSymbology[] symbologies 
) 
 function Leadtools.Barcode.BarcodeReader.ReadBarcodes(RasterImage,LeadRect,Int32,BarcodeSymbology[])(  
   image , 
   searchBounds , 
   maximumBarcodes , 
   symbologies  
) 

Parameters

image
A RasterImage object that contains the image data. Must not be null.

searchBounds
A LeadRect that specifies the region of interest area in the image where the barcodes search and detection is performed. You can specify empty rectangle to indicate that the search must be performed on the whole image.

maximumBarcodes
An Int32 that specifies the maximum number of barcodes to return. Must be a value greater than or equal to 0. The value of 0 means all barcodes.

symbologies
An array of BarcodeSymbology enumeration members that specifies the barcode symbologies (types) to search for.

Return Value

An array of BarcodeData objects that contains the symbology, data, location and any rotation angle for each barcode found. If no barcodes can be found, then this method will return an empty array (Length equals to 0).

Remarks

Note: In LEADTOOLS for .NET, the equivalent to LeadRect is LogicalRectangle.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly